package it.univaq.mwt.tp;

import java.io.Serializable;
import java.lang.String;
import javax.persistence.*;

/**
 * Entity implementation class for Entity: Person
 * 
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public abstract class Person implements Serializable {

	private String ssn;
	private String name;
	private static final long serialVersionUID = 1L;

	public Person() {
		super();
	}

	public Person(String ssn, String name) {
		this.ssn = ssn;
		this.name = name;
	}

	@Id
	public String getSsn() {
		return this.ssn;
	}

	public void setSsn(String ssn) {
		this.ssn = ssn;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
